package com.jinzhi.jzweb.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jinzhi.jzweb.dao.BookPurchaseDao;
import com.jinzhi.jzweb.domain.BookPurchaseDO;
import com.jinzhi.jzweb.service.BookPurchaseService;
import com.jinzhi.common.base.CoreServiceImpl;

import java.util.Map;

/**
 * 
 * <pre>
 * 书籍进货管理表
 * </pre>
 * <small> 2021-04-08 09:00:20 | lance</small>
 */
@Service
public class BookPurchaseServiceImpl extends CoreServiceImpl<BookPurchaseDao, BookPurchaseDO> implements BookPurchaseService {

    @Autowired
    private BookPurchaseDao bookPurchaseDao;

    @Override
    public Map numBook(String bookId) {
        return bookPurchaseDao.numBook(bookId);
    }
}
